package apiday04home;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class StringSortHome {
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("张宛婷");
        list.add("张宛婷啦啦啦啦啦");
        list.add("张宛婷啦啦");
        Collections.sort(list);
        System.out.println(list);//[张宛婷, 张宛婷啦啦, 张宛婷啦啦啦啦啦]
    }
}
